package com.goodlearning.gloriamobile.dto;

import java.io.Serializable;

import android.os.Parcel;
import android.os.Parcelable;
/**
 * 지도 정보 가져오는곳
 * @author rapty54
 *
 */
public class GetMapPositionListDto implements Serializable,Parcelable{

	/**
	 * 각 지도 정보
	 */
	private static final long serialVersionUID = -263630302974118452L;
	
	private String orgImgKey;
	
	private String orgLong;
	
	private String orgLati;
	
	private String idx;
	
	private String orgName;
	
	public String getOrgImgKey() {
		return orgImgKey;
	}

	public void setOrgImgKey(String orgImgKey) {
		this.orgImgKey = orgImgKey;
	}

	public String getOrgLong() {
		return orgLong;
	}

	public void setOrgLong(String orgLong) {
		this.orgLong = orgLong;
	}

	public String getOrgLati() {
		return orgLati;
	}

	public void setOrgLati(String orgLati) {
		this.orgLati = orgLati;
	}

	public String getIdx() {
		return idx;
	}

	public void setIdx(String idx) {
		this.idx = idx;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public GetMapPositionListDto() {
		
	}
	
	public GetMapPositionListDto(Parcel in) {
		readFromParcel(in);
	}
	
	@Override
	public int describeContents() {
		
		return 0;
	}
	
	public static final Parcelable.Creator CREATOR=new Parcelable.Creator() {

		@Override
		public GetMapPositionListDto createFromParcel(Parcel in) {
			return new GetMapPositionListDto(in);
		}

		@Override
		public GetMapPositionListDto[] newArray(int size) {
			return new GetMapPositionListDto[size];
		}
	};
	
	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(orgImgKey);
		dest.writeString(orgLong);
		dest.writeString(orgLati);
		dest.writeString(idx);
		dest.writeString(orgName);
		
	}

	private void readFromParcel(Parcel in) {
		orgImgKey=in.readString();
		orgLong=in.readString();
		orgLati = in.readString();
		idx = in.readString();
		orgName=in.readString();
	} 
}
